package com.emep.changzhi.analyse.entity.information;

import lombok.Data;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * @author Wangcc
 * @version V1.0
 * @Description: 报警规则信息表
 * @date 2018/2/26 16:56
 */
@Data
@Table(name = "sys_prompt_info")
@Entity
public class SysPromptInfo implements Serializable {

    private static final long serialVersionUID = -2934724124085761669L;

    @Id
    @GenericGenerator(name = "system-uuid" , strategy = "uuid")
    @GeneratedValue(generator = "system-uuid")
    private String id;

    @Column(name = "Prompt_rule_name",columnDefinition="varchar(100) COMMENT '报警规则名字'" )
    private String PromptRuleName ;

    @Column(name = "is_delete",columnDefinition="varchar(100) COMMENT '是否删除'" )
    private String isDelete= "0" ;

    @Column(name = "create_date",columnDefinition="varchar(100) COMMENT '录入时间'" )
    private String createDate = String.valueOf(System.currentTimeMillis());


}
